package lxt.service;

import java.util.List;
import lxt.entity.CostFix;
/**
 * 车辆维修service
 * @author Lit
 *
 */
public interface CostFixService {
	/**
	 * 加载车辆维修信息 
	 * @return
	 */
	public List<CostFix> loadCostFix(String truckId,String driverId,String fixStation,int offset, int length)throws Exception;
	/**
	 * 添加车辆维修
	 */
	public boolean addCostFix(CostFix costFix)throws Exception;
	/**
	 * 根据id查找车辆维修
	 */
	public CostFix loadCostFixById(String id)throws Exception;
	/**
	 * 修改车辆维修
	 */
	public boolean updateCostFix(CostFix costFix)throws Exception;
	/**
	 * 删除车辆维修
	 */
	public boolean deleteCostFix(String id)throws Exception;
	/**
	 * 查询数量
	 */
	public int loadAllCostFixCount(String truckId,String driverId,String fixStation)throws Exception;
}
